home *** CD-ROM | disk | FTP | other *** search
- Path: news.PBI.net!usenet
- From: mich@pbinet.com
- Newsgroups: comp.lang.c
- Subject: Re: Invoke a outside utility from c program in MS-Window environments
- Date: 24 Mar 1996 06:03:31 GMT
- Organization: Pacific Bell Internet Services
- Message-ID: <4j2ojj$36l@SNFC21_SRVR_WWW.PBI.net>
- References: <4inf73$lh@crucis.usc.edu>
- Reply-To: mich@pbinet.com
- NNTP-Posting-Host: ppp-5-38.rdcy01.pbinet.com
- X-Newsreader: IBM NewsReader/2 v1.03
-
- In <4inf73$lh@crucis.usc.edu>, haiz@crucis.usc.edu (Hai Zhang) writes:
- >I try to write a c application in MS-Windows environment. In one
- >procedure I want user input a file name and compress the corresponding
- >file. I want to use pkzip to do the real job. My question is whether
- >it is possible to invoke a outside utility such as pkzip in MS-Windows.
- >In unix I could use system() function or even execl or execv().
-
- You should probably post this in the windows development group, whatever
- that is, but the question is easily answered (so I hope the c wizards won't hit
- me...)
- just use the WinExe() function. Look it up.
-
-